import request from '@/utils/request'

// 查询耗材与价格调整对照列表
export function listSuppliesprice(query) {
  return request({
    url: '/service/suppliesprice/list',
    method: 'get',
    params: query
  })
}

// 查询耗材与价格调整对照详细
export function getSuppliesprice(suppliespriceId) {
  return request({
    url: '/service/suppliesprice/' + suppliespriceId,
    method: 'get'
  })
}

// 新增耗材与价格调整对照
export function addSuppliesprice(data) {
  return request({
    url: '/service/suppliesprice',
    method: 'post',
    data: data
  })
}

// 修改耗材与价格调整对照
export function updateSuppliesprice(data) {
  return request({
    url: '/service/suppliesprice',
    method: 'put',
    data: data
  })
}

// 删除耗材与价格调整对照
export function delSuppliesprice(suppliespriceId) {
  return request({
    url: '/service/suppliesprice/' + suppliespriceId,
    method: 'delete'
  })
}
